//
//  WJYTableView.m
//  newTestGit
//
//  Created by fangjs on 16/3/18.
//  Copyright © 2016年 Hongshi. All rights reserved.
//

#import "WJYTableView.h"

@implementation WJYTableView


- (UIView *)hitTest:(CGPoint)point withEvent:(UIEvent *)event {
    id view = [super hitTest:point withEvent:event];
    if (![view isKindOfClass:[UITextField class]]) {
        [self endEditing:YES];
        return self;
    }
    else {
        return view;
    }
}

/*
// Only override drawRect: if you perform custom drawing.
// An empty implementation adversely affects performance during animation.
- (void)drawRect:(CGRect)rect {
    // Drawing code
}
*/

@end
